html {
  min-height: 100%;
  position: relative;
  height: 100%;
  overflow: inherit;
}

body {
  margin: 0;
  position: relative;
  min-height: 100%;
  overflow: auto;
  overflow-x: hidden;
}

.custom-font-slider-1 {
  font-size: 46px;
  line-height: 46px;
}

@media (min-width: 992px) {
  .custom-font-slider-1 {
    font-size: 76px;
    line-height: 76px;
  }
}

.custom-font-slider-2 {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 2px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.custom-dots-modern-1 .owl-dots {
  margin: 30px 0 0 60px !important;
}

.custom-sort-source.sort-source.sort-source-style-3 {
  flex-direction: column;
  padding-bottom: 30px;
}

.custom-sort-source.sort-source.sort-source-style-3 li a,
.custom-sort-source.sort-source.sort-source-style-3 li.active a {
  border-bottom: 1px solid #e7e7e7 !important;
  border-radius: 0 !important;
  text-transform: none;
  font-weight: 600;
}

.custom-sort-source.sort-source.sort-source-style-3 li a:before,
.custom-sort-source.sort-source.sort-source-style-3 li.active a:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f105";
  display: inline-block;
  padding-right: 7px;
  position: relative;
  top: 1px;
}

.custom-sort-source.sort-source.sort-source-style-3 li:last-child a,
.custom-sort-source.sort-source.sort-source-style-3 li.active:last-child a {
  border-bottom: 0 !important;
}

.image-cover {
  position: absolute;
  height: 100%;
  width: 100%;
  background: black;
  opacity: 0.3;
  z-index: 0;
}
.owl-carousel.nav-dark.nav-style-1 .owl-nav .owl-next,
.owl-carousel.nav-dark.nav-style-1 .owl-nav .owl-prev {
  color: var(--primary-inverse) !important;
}
/* Thumb Info */
.custom-thumb-info-style-1 .thumb-info-wrapper .custom-thumb-info-date {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 27.2px;
  font-size: 1.7rem;
  line-height: 1;
  text-align: center;
  padding: 11.2px 19.2px;
  padding: 0.7rem 1.2rem;
  z-index: 2;
}

.custom-thumb-info-style-1 .thumb-info-wrapper .custom-thumb-info-date > span {
  display: block;
  font-size: 0.4em;
  line-height: 1.5;
}
.custom-fs-1 {
  font-size: 19.2px !important;
  font-size: 1.2rem !important;
}
.container-news {
  z-index: 999999 !important;
  position: relative;
}
#header .header-nav-bar.header-nav-bar-bottom-border {
  border-bottom: 1px solid #ededed;
}
.thumb-info .thumb-info-wrapper:after,
.thumb-info .thumb-info-wrapper .thumb-info-wrapper-overlay:before {
  background: var(--primary-100) !important;
}
.comunicatDePresa .thumb-info .thumb-info-wrapper:after,
.comunicatDePresa
  .thumb-info
  .thumb-info-wrapper
  .thumb-info-wrapper-overlay:before {
  background: rgba(0, 0, 0, 0.4) !important;
}
section.section-secondary {
  background-color: var(--light) !important;
  border-color: var(--primary-100) !important;
}
.contact-form-field {
  background: transparent !important;
  border: 1px solid gray !important;
  color: var(--default) !important;
}
#footer .footer-copyright p {
  color: white !important;
}
#searchModal .modal-header {
  border-bottom: 0;
}
#searchModal .modal-footer {
  border-top: 0;
}
#searchModal .modal-content {
  background-color: #222222e1;
}
#searchModal .btn-close-white {
  font-size: 30px;
  opacity: 1;
}
.searchModalSearchbox {
  width: 100%;
  color: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0);
  font-size: 1.5rem;
  font-weight: 300;
  text-align: center;
  border: 0px;
  margin: 0px auto;
  margin-top: -51px;
  padding-left: 30px;
  padding-right: 30px;
  outline: none;

  position: absolute;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}
html.sticky-header-active #header .header-body {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
#s4-bodyContainer {
  padding-bottom: 0 !important;
}
.linkuri-utile {
  background-color: var(--primary);
  margin-bottom: 60px;
  overflow: hidden;
  padding: 2.4rem 0;
  position: relative;
  text-align: right;
  letter-spacing: -0.5px;
}
.linkuri-utile a {
  color: var(--light);
}

.linkuri-utile a:not(.btn) {
  color: var(--light);
  font-weight: 600;
}
.nav {
  flex-wrap: nowrap !important;
}
#sectiuneWebPartZone {
  display: none;
}
.carousel-description p {
  color: var(--light) !important;
}
a:hover {
  text-decoration: none !important;
}
#s4-workspace {
  overflow: inherit;
  /* width: 100% !important; */
}
.owl-nav button {
  min-width: auto !important;
}
#HomePageHeader a:visited {
  color: white !important;
}
.popup-gallery {
  text-align: center;
}
.popup-gallery img {
  margin: 10px;
}
.ms-promlink-header {
  border: 1px dashed rgba(0, 0, 0, 0.125);
  padding: 10px;
  margin-bottom: 20px;
}
.ms-promlink-header * {
  box-sizing: content-box !important;
}
.ms-promlink-header::marker {
  content: none;
}
#CategoryButtons a:not(.ms-commandLink), #CategoryButtons a:not(.buttonNavigareThumbnail) {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container-portal {
  margin-top: 50px;
  /* margin-bottom: 50px; */
}
.table * {
  color: var(--default);
}
.table tr {
  text-align: center;
}

/* .card-entitate-subordonata {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
} */
.ms-ref-refinername{
  display: none !important;
}
.ms-ref-name{
  color:inherit !important;
}
#SearchBox input {
  font-size: 14px;
  padding: 3px;
}
#SearchBox {
  width: 100%;
}
.resetSearchButton{
  cursor:pointer;
  border:1px solid #ababab;
}
#CategoryDocumentePortalCJTulceaCards .card{
  border: 1px solid #dbdbdb;
}
.angajatCJTulceaCard{
  box-shadow: 0 10px 25px #eeeeee;
}
.angajatCJTulceaImg{
  /* box-shadow: 0px 10px 25px #adadad; */
  border: 1px solid #dfdfdf;
  padding:3px;
  max-height:180px;
  /* width: 160px; */
  display:block;
  margin:auto;
}

/* .angajatCJTulceaCard-pictureOnTopImg{
  max-width:304px;
  max-height:200px;
  display:block;
  margin:auto;
} */

.toggleDisplayTemplate.toggle.toggle-simple .toggle > label:before, .toggleDisplayTemplate.toggle.toggle-simple .toggle > .toggle-title:before {
  top: 22px;
}

.documentSetDescription{
  background: var(--grey-100);
    border: 1px solid #e8e8e8;
    padding: 15px;
}

@media (min-width: 992px) {
  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
      width: 350px;
      text-wrap: auto;
  }
}
.thumbnail-fixed {
  width: 100%;          /* or a fixed width like 200px */
  height: 200px;        /* or whatever height works for your layout */
  object-fit: cover;    /* maintains aspect ratio, crops overflow */
}
.ms-srch-group-content div[name='Item'] {
  width: 100% !important;
}
.searchResultItem {
  border-bottom: 1px dotted #e2e2e2;
  /* padding: 15px 0; */
  padding-bottom: 15px;
}
.portalCautare-container .ms-srch-ellipsis {
  margin-bottom: 0px !important;
  font-size: 14px !important;
}
.portalCautare-container #Paging .ms-commandLink {
  box-sizing: content-box !important;
}
.ms-srch-result .portalCautare-container #Paging a {
  text-decoration: none;
}
@media (max-width: 575.98px) {
  .container-portal .ms-webpart-zone,
  .container-portal .ms-webpartzone-cell,
  .container-portal .ms-webpart-cell-vertical,
  .container-portal .ms-webpart-chrome-vertical {
    display: block !important;
    width: 100% !important;
  }
}
/* .ms-webpart-chrome-vertical {
  display: block !important;
  width: 100% !important;
} */

.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px; /* adjust as needed */
}

.search-input {
  width: 100%;
  padding-right: 40px; /* space for icon */
}

.search-icon {
  position: absolute;
  right: 0;
  /* top: 50%; */
  /* transform: translateY(-50%); */
  cursor: pointer;
  width: 32px !important;
  height: 31px !important;
}

@media (max-width: 576px) {
  #SearchBox {
      flex-direction: column;
      align-items: stretch;
  }

  .btn {
      width: 100%;
      text-align: center;
  }

  .search-input-wrapper {
      margin-bottom: 10px;
  }
  .resetSearchButton{
    margin-top:10px;
  }
}